const state = () => ({
  list: [],
  keyword: '',
  area: [],
  types: [],
  point: [],
})

const mutations = {
  setList(state, obj) {
    state[obj.type] = obj.list
  },
  setKeyword(state, val) {
    state.keyword = val
  },
}


export default {
  namespaced: true,
  state,
  mutations
}